import { Suspense } from 'react'
import ReactDOM from "react-dom/client"
import './index.less'
import { RouterProvider } from 'react-router-dom'
import router from './router/index.tsx'

ReactDOM.createRoot(document.getElementById('root')!).render(
  // <StrictMode>
    <Suspense
      fallback={<div>Loading...</div>}
    >
      <RouterProvider router={router} />
    </Suspense>
  // </StrictMode>,
)